﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Snipr.Framework.Security;

namespace Snipr.Web
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnLogin_Click(object sender, EventArgs e)
        {
            UserAccount userAccount = new UserAccount(tbUserEmail.Text.Trim());
            if (!userAccount.UserExists())
            {

            }
            else
            {
                userAccount.Login();
            }

        }

        protected void btnRegister_Click(object sender, EventArgs e)
        {

        }
    }
}